import Vue from 'vue'
import App from './App.vue'
import VueResource from 'vue-resource'
Vue.use(VueResource)//内部会给vm对象和组件对象添加属性$http
new Vue({
    el:"#app",
    components:{App},
    template:'<App/>'
})